using System;
using Newtonsoft.Json.Linq;

namespace Kugar.Tool.RemoteEventBus
{
    public class SyncEventRaisingEventArgs : EventArgs
    {
        public string EventName { set; get; }

        public JObject Data { set; get; }
        
    }

    public class SyncEventRaisedEventArgs : EventArgs
    {
        public string EventName { set; get; }

        public JObject Data { set; get; }

        public JObject ReturnValue { set; get; }

        public AggregateException Error { set; get; }
    }

}